package model;

public class EventFieldsCondition {

	private int id;
	private int fId;
	private int ueId;
	private String condition;
	private String value;
	

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getfId() {
		return fId;
	}
	public void setfId(int fId) {
		this.fId = fId;
	}
	public int getUeId() {
		return ueId;
	}
	public void setUeId(int ueId) {
		this.ueId = ueId;
	}
	public String getCondition() {
		return condition;
	}
	public void setCondition(String condition) {
		this.condition = condition;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	

	/**
	 * 
	 * @param fId fieldID
	 * @param ueId UserEventID
	 * @param condition 条件(>,=,<)
	 * @param value 值，包括带监控字段与位置字段的值
	 */
	public EventFieldsCondition(int fId, int ueId, String condition,
			String value) {
		this.fId = fId;
		this.ueId = ueId;
		this.condition = condition;
		this.value = value;
	}
	public EventFieldsCondition() {
	}
	@Override
	public String toString() {
		return "EventFieldsCondition [id=" + id + ", fId=" + fId + ", ueId="
				+ ueId + ", condition=" + condition + ", value=" + value + "]";
	}
	
	
	
}
